package com.mdd.admin.validate;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import javax.validation.constraints.*;
import com.mdd.common.validator.annotation.IDMust;

/**
 * 开店申请参数
 * @author cxt
 */
@Data
@ApiModel("开店申请更新参数")
public class ShopRecordUpdateValidate implements Serializable {

    private static final long serialVersionUID = 1L;

    @IDMust(message = "id参数必传且需大于0")
    @ApiModelProperty(value = "")
    private Integer id;

    @NotNull(message = "userId参数缺失")
    @ApiModelProperty(value = "用户id")
    private Integer userId;

    @NotNull(message = "shopName参数缺失")
    @ApiModelProperty(value = "商户名称")
    private String shopName;

    @NotNull(message = "shopCategory参数缺失")
    @ApiModelProperty(value = "主营类目")
    private String shopCategory;

    @NotNull(message = "contactName参数缺失")
    @ApiModelProperty(value = "联系人姓名")
    private String contactName;

    @NotNull(message = "phone参数缺失")
    @ApiModelProperty(value = "手机号码")
    private String phone;

    @NotNull(message = "userName参数缺失")
    @ApiModelProperty(value = "创建账号（后台）")
    private String userName;

    @NotNull(message = "password参数缺失")
    @ApiModelProperty(value = "密码（后台）")
    private String password;

    @NotNull(message = "businessLicense参数缺失")
    @ApiModelProperty(value = "营业执照")
    private String businessLicense;

    @NotNull(message = "isAgree参数缺失")
    @ApiModelProperty(value = "是否同意入驻协议(0、不同意 1、同意 默认0)")
    private Integer isAgree;

    @NotNull(message = "checkStatus参数缺失")
    @ApiModelProperty(value = "审核状态（0、已提交 1、审核通过 2、驳回）")
    private Integer checkStatus;

    @NotNull(message = "checkUserId参数缺失")
    @ApiModelProperty(value = "审核人id")
    private Long checkUserId;

}
